<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/2/23
 * Time: 17:17
 */

namespace App\Models\System;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class BaseModel extends Model
{
    public function multiInsert(Array $data)
    {
        $rs = DB::table($this->getTable())->insert($data);
        return $rs;
    }
}